package cn.runagain.demo.wechatminiappdemo.repository;

import cn.runagain.demo.wechatminiappdemo.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * created by
 *
 * @author tuxianchao
 * @date 2018/6/12 上午12:20
 */
@Repository
public interface UserRepository extends JpaRepository<User, Long> {
    /**
     * 11
     * @param nickName
     * @return
     */
    User findByNickName(String nickName);
}
